package com.ruoyi.merchantsrecord.service;

import java.util.List;
import com.ruoyi.merchantsrecord.domain.CrmCustomerMerchantsRecord;

/**
 * 客户线索跟进记录Service接口
 * 
 * @author hct
 * @date 2022-02-16
 */
public interface ICrmCustomerMerchantsRecordService 
{
    /**
     * 查询客户线索跟进记录
     * 
     * @param id 客户线索跟进记录主键
     * @return 客户线索跟进记录
     */
    public CrmCustomerMerchantsRecord selectCrmCustomerMerchantsRecordById(Long id);

    /**
     * 查询客户线索跟进记录列表
     * 
     * @param crmCustomerMerchantsRecord 客户线索跟进记录
     * @return 客户线索跟进记录集合
     */
    public List<CrmCustomerMerchantsRecord> selectCrmCustomerMerchantsRecordList(CrmCustomerMerchantsRecord crmCustomerMerchantsRecord);
    public List<CrmCustomerMerchantsRecord> selectCrmCustomerMerchantsAndRecordList(CrmCustomerMerchantsRecord crmCustomerMerchantsRecord);

    /**
     * 新增客户线索跟进记录
     * 
     * @param crmCustomerMerchantsRecord 客户线索跟进记录
     * @return 结果
     */
    public int insertCrmCustomerMerchantsRecord(CrmCustomerMerchantsRecord crmCustomerMerchantsRecord);

    /**
     * 修改客户线索跟进记录
     * 
     * @param crmCustomerMerchantsRecord 客户线索跟进记录
     * @return 结果
     */
    public int updateCrmCustomerMerchantsRecord(CrmCustomerMerchantsRecord crmCustomerMerchantsRecord);

    /**
     * 批量删除客户线索跟进记录
     * 
     * @param ids 需要删除的客户线索跟进记录主键集合
     * @return 结果
     */
    public int deleteCrmCustomerMerchantsRecordByIds(Long[] ids);

    /**
     * 删除客户线索跟进记录信息
     * 
     * @param id 客户线索跟进记录主键
     * @return 结果
     */
    public int deleteCrmCustomerMerchantsRecordById(Long id);
}
